<!DOCTYPE html>
<html lang="zh-Hans" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf8"/>
    <title>【花枝】- 有趣好玩的，视频聊天娱乐平台</title>
    <link rel="stylesheet" type="text/css" href="./css/basic.css"/>
    <link rel="stylesheet" type="text/css" href="./css/core.css"/>
    <link rel="stylesheet" type="text/css" href="./css/member.css"/>
    <link rel="stylesheet" type="text/css" href="./css/main.css"/>
    <script type="text/javascript" src="./js/jquery-2.1.2.min.js"></script>
    <script type="text/javascript" src="./js/jquery.ajax.app.js"></script>
    <script type="text/javascript" src="./js/common.js"></script>
    <script type="text/javascript">
        console.log(window.location.href)
        var accountId = getUrlParam("account_id");
        $(document).ready(function () {
            if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
                window.location.replace("./download.html?account_id=" + accountId);
            }
        });

        function getUrlParam(name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
            var r = window.location.search.substr(1).match(reg);  //匹配目标参数
            if (r != null) return unescape(r[2]);
            return null; //返回参数值
        }

        $(function () {
            var readParameter = function (key) {
                var ret = '';
                if (window.location.search) {
                    var s = window.location.search.substr(1);
                    s = s.split("&");
                    for (var i in s) {
                        g = s[i].split('=');
                        if (g[0] === key && g.length === 2) {
                            ret = g[1];
                            break;
                        }
                    }
                }
                if (ret === '' && key === '_cc') {
                    ret = window.location.hash ? window.location.hash.substr(1) : '';
                }
                return ret;
            };

            var loadQRCode = function () {
                layer.open({
                    type: 2,
                    title: !1,
                    shadeClose: !1,
                    shade: [0.6, "url(./images/mark_bg.png) #000"],
                    area: ["480px", "380px"],
                    skin: "",
                    content: ['./scan.html?_tn=qrcode&_cc=' + window.location.href, "no"],
                    zIndex: 111111
                });
            };


            $(".onclick-alert").click(function () {
                loadQRCode();
            })


            var u = navigator.appVersion;
            var wx = ((u.match(/MicroMessenger/i)) && (u.match(/MicroMessenger/i).toString().toLowerCase() == 'micromessenger'));
            MLV.sysTemInfo();
            MLV.down();
            if (!wx) {
                loadQRCode();
            }
        })

    </script>

</head>
<body class="index">
<div class="top onclick-alert">
    <div class="main width1000">
        <h1 style="padding-top: 8px;"><img src="https://pic.rmb.bdstatic.com/bjh/b3962598fb304d83a4c3becdf82c4cba.png"/>
        </h1>
    </div>
</div>
<div class="content onclick-alert" style="height: 800px;">

</div>
<div class="copyright onclick-alert">
    <p></p>
    <p>
        <a href="http://www.beian.miit.gov.cn/" style="color: #fff;" target="_blank"> </a>
    </p>
</div>

<link rel="stylesheet" href="./css/appcss.css">
<script type="text/javascript" src="./js/appon2.js"></script>

<script type="text/javascript" src="./js/main.js"/>
<div style="display:none">
    <script src="./js/zstat.js?id=3998212&web_id=3998212"></script>
</div>
<div class="wechat"></div>

<script type="text/javascript">
    var u = navigator.appVersion;
    var wx = ((u.match(/MicroMessenger/i)) && (u.match(/MicroMessenger/i).toString().toLowerCase() == 'micromessenger'));
    MLV.sysTemInfo();
    MLV.down();

    if (!wx) {
        if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
            setTimeout(function () {
                window.location.replace("./download.html?account_id=" + accountId)
            }, 0);
        }
    }


</script>
</body>
</html>
